package com.blobfish.fiction.common.base.model;

import java.io.Serializable;

/**
 * 基础dto
 * @author huangbo
 */
public class BaseDto implements Serializable {
    public BaseDto() {
    }

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof BaseDto)) {
            return false;
        } else {
            BaseDto other = (BaseDto) o;
            return other.canEqual(this);
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof BaseDto;
    }

    @Override
    public int hashCode() {
        int result = 1;
        return result;
    }

    @Override
    public String toString() {
        return "BaseDto()";
    }
}
